package com.zhouxiaoge.泛型.泛型类;

import com.zhouxiaoge.泛型.Pair;

/**
 * @author 周明阳
 * mail:gqzmy@outlook.com
 * 时间:2018-05-04 16:29
 */

public class ArrayAlgTest {
    public static void main(String[] args) {
        String[] words = {"e", "c", "c", "d", "e", "a"};
        Pair<String> minmax = ArrayAlg.minmax(words);
        System.out.println("Min: " + minmax.getFirst());
        System.out.println("Max: " + minmax.getSecond());
    }
}
